package com.slx.number_of_segments_in_a_string;

import org.junit.Assert;
import org.junit.Test;

public class Main {
    @Test
    public void test1() {
        Solution solution = new Solution();

        Assert.assertEquals(5, solution.countSegments("Hello, my name is John"));
    }
}
